package com.bit.log.facade;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2025-11-24
 * Time: 20:08
 */
public class FacadeClient implements Light{

    private LivingroomLight livingroomLight = new LivingroomLight();
    private BedroomLight bedroomLight = new BedroomLight();
    private HallLight hallLight = new HallLight();

    public void on() {
        livingroomLight.on();
        bedroomLight.on();
        hallLight.on();
    }


    public void off() {
        livingroomLight.off();
        bedroomLight.off();
        hallLight.off();
    }
}
